<?php

return array(
		'APP_GROUP_LIST'     => 'Index,Wap,HelloAdmin',
		'DEFAULT_GROUP'      =>'Index',
		'APP_SUB_DOMAIN_DEPLOY'=>1, // 开启子域名配置
    	'APP_SUB_DOMAIN_RULES'=>array(
        	'wap.896zw.com'=>'Wap',  // test域名指向Test分组
    	),


	    /* URL设置 */
	    'URL_CASE_INSENSITIVE' => false, // 默认false 表示URL区分大小写 true则表示不区分大小写
	    'URL_MODEL' => 2, // URL访问模式,可选参数0、1、2、3,代表以下四种模式：
	    'URL_PATHINFO_DEPR' => '/', // PATHINFO模式下，各参数之间的分割符号
	    'URL_PATHINFO_FETCH' => 'ORIG_PATH_INFO,REDIRECT_PATH_INFO,REDIRECT_URL', // 用于兼容判断PATH_INFO 参数的SERVER替代变量列表
	    'URL_REQUEST_URI' => 'REQUEST_URI', // 获取当前页面地址的系统变量 默认为REQUEST_URI
	    'URL_HTML_SUFFIX' => 'html', // URL伪静态后缀设置
	    'URL_DENY_SUFFIX' => 'ico|png|gif|jpg', // URL禁止访问的后缀设置
	    'URL_PARAMS_BIND' => true, // URL变量绑定到Action方法参数
	    'URL_PARAMS_BIND_TYPE' => 0, // URL变量绑定的类型 0 按变量名绑定 1 按变量顺序绑定
	    'URL_PARAMS_FILTER' => false, // URL变量绑定过滤
	    'URL_PARAMS_FILTER_TYPE' => '', // URL变量绑定过滤方法 如果为空 调用DEFAULT_FILTER
	    'URL_404_REDIRECT' => '', // 404 跳转页面 部署模式有效
	    'URL_ROUTER_ON' => true, // 是否开启URL路由
	    'URL_ROUTE_RULES' => array(
	        'readLog'=>'Index/readLog',
	        'newph'=>'Index/newph',
	        'gonggaolist'=>'Notice/noticelist',
	        'Search'=>'Index/Search',
	        'lvList'=>'Index/lvList',
	        'forgetPassword'=>'Index/forgetPassword',
	        'login'=>'Index/login',
	        'all'=>'Index/all',
	        'regist'=>'Index/regist',
	        'myBookShelf'=>'Member/myBookShelf',
	        'myInfo'=>'Member/myInfo',
	        'myMessages'=>'Member/myMessages',
	        'sendMessage'=>'Member/sendMessage',
	        'newMessage'=>'Member/newMessage',
	        'pointLog'=>'Member/pointLog',
	        'editInfo'=>'Member/editInfo',
	        'logout'=>'Member/logout',
	        '/^gonggao-(\d+)/' => 'Notice/index?notice_id=:1',
			'/^Article-(\d+)/' => 'Article/index?book_id=:1',
			'/^Content-(\d+)/' => 'Article/content?article_id=:1',
			'/^Cate-(\d+)/' => 'Cate/index?cate_id=:1',
			'/^(\d+)-([\d|\w]+)/' => 'Article/content?book_id=:1&article_id=:2',
			'/^(\d+)/' => 'Article/index?book_id=:1',
	    ), // 默认路由规则 针对模块
	    'URL_MAP_RULES' => array(

	        ),
	    'URL_MODULE_MAP' => array('admin' => 'HelloAdmin'), //模块映射
	);